package com.rlyy.basic.utils;

import java.util.UUID;

public class UUIDUtil {

    public static String getUUID(){
        return UUID.randomUUID().toString().replaceAll("-", "");
    }

    public static String getUUID(int size){
        return UUID.randomUUID().toString().replaceAll("-", "").substring(0, size);
    }

}
